<table class="table table-hover">
    <? foreach ($this->tasks as $task):?>
        <?/** @var $task Application_Model_Task */?>
        <tr id="task-id-<?=$task->getTaskId(); ?>" class="<?= $task->getCssClass() ?>">
            <td class="good-name" onclick="idea.editTask(<?= $task->getTaskId()?>)"><?= $task->getTaskTitle() ?></td>
            <td>
                <i title="В дайджест" class="icon-eye-open" onclick="mn.addThing(<?=$task->getTaskId()?>, <?= Application_Model_Thing::TYPE_TASK ?>, $('#task-id-<?= $task->getTaskId(); ?>'));"></i>
                <i title="В архив" class="icon-hdd" onclick="idea.taskToArchive(<?=$task->getTaskId()?>)"></i>
                <i title="Удалить" class="icon-trash" onclick="idea.deleteTask(<?=$task->getTaskId()?>);"></i>
            </td>
        </tr>
    <? endforeach; ?>
</table>
